<!--#include("_header.html")-->

<form action="./" method="post" onsubmit="return procFilter(this, insert_question)" id="fo_write" class="faqWrite">
	<input type="hidden" name="mid" value="{$mid}" />
	<input type="hidden" name="answer" value="{$oQuestion->getAnswerText()}" />
	<input type="hidden" name="question_srl" value="{$question_srl}" />

	<div class="Question">
	
			<label class="title">{$lang->question_title} :</label>
				<!--@if($module_info->use_category=="Y")-->
					<select name="category_srl" class="category">
						<option value="">{$lang->category}</option>
						<!--@foreach($category_list as $val)-->
						<option value="{$val->category_srl}" <!--@if($val->grant&&$val->selected||$val->category_srl==$oQuestion->get('category_srl'))-->selected="selected"<!--@endif-->>
							{str_repeat("&nbsp;&nbsp;",$val->depth)} {$val->title} ({$val->question_count})
						</option>
						<!--@endforeach-->
					</select>
				<!--@end-->
				<input type="text" name="question" class="inputText" value="{htmlspecialchars($oQuestion->getQuestionText())}" style="width:400px"/>

	</div>
	<div class="Answer">
		<label class="title">{$lang->answer_title} :</label>
		<div class="editor">{$oQuestion->getEditor()}</div>
	</div>

	<div class="boardNavigation1">

		<span class="button red strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
	</div>


</form>